import 'package:flutter/material.dart';

class mydriver extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final navHight = MediaQuery.of(context).padding.top + 38;
    // TODO: implement build
    return Drawer(
      child: SafeArea(
        child: MediaQuery.removePadding(
          context: context,
          //移除抽屉菜单顶部默认留白
          removeTop: true,
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: <Widget>[
              Padding(
                padding: EdgeInsets.only(top: 50),
                child: Row(
                  mainAxisAlignment: MainAxisAlignment.start,
                  children: <Widget>[
                    Padding(
                      padding: const EdgeInsets.symmetric(horizontal: 16.0),
                      child: ClipOval(
                        child: Image.asset(
                          "images/20210303095130673.png",
                          width: 80,
                        ),
                      ),
                    ),
                    Text(
                      "Zhuk",
                      style: TextStyle(fontWeight: FontWeight.bold),
                    )
                  ],
                ),
              ),
              Expanded(
                child: ListView(
                  children: <Widget>[
                    ListTile(
                      leading: Icon(Icons.add),
                      title: Text('Add account'),
                    ),
                    ListTile(
                      leading: Icon(Icons.settings),
                      title: Text('Manage accounts'),
                    ),
                  ],
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}